]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-widget: Fix paint state leak
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 27 Jun 2013 00:27:55 +0000 (01:27 +0100)
committerLionel Landwerlin <llandwerlin@gmail.com>
Thu, 27 Jun 2013 08:26:05 +0000 (09:26 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=703160

src/st/st-widget.c

index 9712cb973ad4512c2caa12fe3ebf02f86ef53524..4cbe0ec2929107ec808104e230c46e813a1798bb 100644 (file)
@@ -385,7 +385,7 @@ st_widget_finalize (GObject *gobject)
   g_free (priv->inline_style);
 
   for (i = 0; i < G_N_ELEMENTS (priv->paint_states); i++)
-    st_theme_node_paint_state_init (&priv->paint_states[i]);
+    st_theme_node_paint_state_free (&priv->paint_states[i]);
 
   G_OBJECT_CLASS (st_widget_parent_class)->finalize (gobject);
 }